package com.drink.yan.intf.vo;

import com.drink.yan.intf.entity.YanCommission;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * java类简单作用描述
 *
 * @Title:
 * @Package: com.drink.yan.intf.vo.
 * @Author: M.simple
 * @Remark: The modified content
 * @CreateDate: 2023-12-09 23:57
 * @Version: v2.0
 */
@Data
public class CommissionVo extends YanCommission {

	@ApiModelProperty("状态")
	private String commissionStatus;

	private String commissionStatusName;

	@ApiModelProperty("类型")
	private String commissionType;

	@ApiModelProperty("名称")
	private String commissionName;

	private String userName;

	@ApiModelProperty("金额")
	private BigDecimal amount;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private LocalDateTime createTime;
}
